<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>消息管理 - <?php echo $cfg_webname; ?></title>
<link href="templets/style/css/reset.css" rel="stylesheet" type="text/css">
<link href="templets/style/css/member.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="templets/js/j.js"></script>
<script type="text/javascript" src="templets/js/load.js"></script>
<script type="text/javascript" src="templets/js/leftmenu.js"></script>
<script type="text/javascript" language='javascript' src="templets/js/main.js"></script>
<script type="text/javascript" src="templets/js/checkSubmit.js"></script>
</head>
<body>

<!--head-->
<?php include(DEDEMEMBER. "/templets/head.htm"); ?>

<div class="main">
<?php include(DEDEMEMBER."/templets/menu.php"); ?> 

<div class="main_right">

<div class="common_title">我的动态</div>
<div class="fanhui"><a href="javascript:history.go(-1);"><span>返回消息内容页</span></a></div>
<div class="znxx_content">
<h6>回复短消息</h6>
<form class="mTB10 mL10 mR10" action="pm.php" method="post" name="form1">
  <input type='hidden' name='dopost' value='savesend' />  
<dl><dt>收件人：</dt>
<dd> <input name="msgtoid" type="text" class="text" value="<?php if(!empty($uid)) echo $uid; ?>" size="28" maxlength="100" id="msgtoid"/><small> (填写用户的登录id(网址uid=后面跟的id)</small></dd>
</dl>
<dl><dt>标&nbsp;&nbsp;&nbsp;题：</dt>
<dd> <input name="subject" type="text" class="text" size="50" maxlength="70" value="<?php echo $hftitle; ?>" /> <small> (60个字符节以内)</small></dd>
</dl>
<dl><dt>内&nbsp;&nbsp;&nbsp;容：</dt>
<dd>
<textarea name="message" cols="50" rows="" class="text" style="height:100px;"></textarea>
<small>(1000个字符以内)</small>
</dd>
</dl>
<div class="yc">
<input type="submit" class="stows-su" value="发送">
</div>
</form>
</div>

</div>

</div>

<!--footer-->
<?php include(DEDEMEMBER. "/templets/footer.htm"); ?>

<script>
	//会员升级
	var typeid = document.querySelector('#typeid');
	var divs = document.querySelectorAll('.hysj_jiage li div');
	for(var i=0,len=divs.length;i<len;i++){
		divs[i].onclick = divCLickHandler;
	}
	function divCLickHandler(e){
		for(var i=0,len=divs.length;i<len;i++){
			divs[i].className = '';
		}
		this.className = 'cur';
		typeid.value = this.getAttribute('_typeid');
	}
</script>
<script>
	//左边导航
	var as = document.querySelectorAll('.left_menu a');
	var spans = document.querySelectorAll('.left_menu .icons');
	for(var i=0,len=as.length;i<len;i++){
		
		spans[i].clazz = spans[i].className;
		as[i].index = i;
		as[i].onmouseenter = mouseenterHandler;
		as[i].onmouseleave = mouseleaseHandler;
	}
	function mouseenterHandler(e){
		if(!/_h$/.test(spans[this.index].clazz)){
			spans[this.index].className = spans[this.index].clazz + '_h';
		}
	}
	function mouseleaseHandler(e){
		spans[this.index].className = spans[this.index].clazz;
	}
	
	//左右等高布局
	var main_left = document.querySelector('.main_left');
	var main_right = document.querySelector('.main_right');
	if(main_left.offsetHeight<main_right.offsetHeight){
		main_left.style.height = main_right.offsetHeight + 'px';
	}
</script>

</body>
</html>